<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@page import="com.toy.core.security.context.SecurityContextHolder"%>
<%@page import="com.toy.core.client.SystemFacade"%>
<%@ include file="/includes/taglibs.jsp" %>
<html>
<head>
<title>Welcome</title>
<%@ include file="/includes/meta.jsp" %>
</head>
<body>
当前用户:<%=SecurityContextHolder.getContext().getAuthentication().getPrincipal()%><br>
<a href="${ctx}/admin">admin</a><br>
<a href="${ctx}/abash">糗事百科</a><br>
<a href="${ctx}<%=SystemFacade.getSysConfig().getLogoutUrl()%>">logout</a>
</body> 
</html>  